import React from "react";
import { ProductCard } from 'react-vant';
function Index() {
  const userInfo = JSON.parse(localStorage.getItem("userInfo") || "[]");
  console.log(userInfo)
  return <div>

     <ProductCard
      desc={userInfo.username}
      title={userInfo.nickname}
      thumb={userInfo.avatar}
    />
  </div>;
}

export default Index;
